<?php get_header() ?>

	<div id="container">
    
    	<?php include('breadcrumbs.php'); ?>
        
		<div id="content">

<?php if ( have_posts() ) : ?>

		<h2 class="page-title"><?php _e( 'Tech Tips Related To:', 'sandbox' ) ?> <?php the_search_query() ?></h2>
        <?php include('tech-tips-search-form.php'); ?>

<?php while ( have_posts() ) : the_post() ?>

			<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
				<h3 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf( __( '%s', 'sandbox' ), the_title_attribute('echo=0') ) ?>" rel="bookmark"><?php the_title() ?></a></h3>
				
				<div class="entry-content">
<?php the_excerpt( __( 'Read More <span class="meta-nav">&raquo;</span>', 'sandbox' ) ) ?>
				<div style="width: 660px; height: 1px; background-color: #cccccc; margin-top: 10px; margin-bottom: 10px; clear: both;"></div>

				</div>

<?php if ( $post->post_type == 'post' ) { ?>

<?php } ?>

			</div><!-- .post -->

<?php endwhile; ?>

<?php else : ?>

			<div id="post-0" class="post no-results not-found">
				<h2 class="entry-title"><?php _e( 'No Tech Tips Found', 'sandbox' ) ?></h2>
				<div class="entry-content">
					<p><?php _e( 'Sorry, but nothing matched your search criteria. Please search again below or visit our Tech Tips section.', 'sandbox' ) ?></p>
				</div>
				<?php include('tech-tips-search-form.php'); ?>
			</div><!-- .post -->

<?php endif; ?>

		</div><!-- #content -->
	</div><!-- #container -->

<?php get_sidebar() ?>
<?php get_footer() ?>